home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Over 1,000 Windows 95 Programs
/
Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso
/
1263
/
html_rtf.doc
< prev
next >
Wrap
Text File
|
1997-04-18
|
6KB
|
127 lines
HTML_RTF.DOC
SOME REMARKS ABOUT THE HTML AND RTF FEATURES OF THE SXT
PROGRAMS
Since the April 95 release all SXT programs can generate output
in HTML (Hyper Text Markup Language) and RTF (Rich Text Format)
format in addition to the default SXT ASCII output files. The
HTML output can be viewed with WWW Clients like NCSA Mosaic,
Netscape or Lynx and with HTML add-ons like Microsoft WinWord
6.0 Internet Assistant. The RTF output can be used to compile
MS Windows Help files (Windows Help compiler project file is
also generated), but can also be read with any word processor
which supports the RTF file format. Both output formats support
the definition of hypertext anchors and links to allow a quick
navigation between related topics. The SXT programs make
extensive usage of these features to provide different views on
the source code analysis results. The HTML output is divided
into four closely related documents to reduce the file size for
document loading, the RTF output is written to one file. The
internal HTML hypertext links across files require that all
files are located in the same directory. This allows that the
SXT HTML output results can be viewed from a remote WWW client
over a network if a WWW server has access to them.
Following are some remarks related to the HTML and RTF features
of the SXT programs to give the user some additional
information and help.
NETSCAPE 2.0 FRAMES
Besides the four HTML files with call tree, cross reference,
name index and file index information, two HTML files are
generated which provide additional functionality based on the
Netscape 2.0 extensions for frames and JavaScript. The main
entry to the HTML output is the file CFTMAIN.HTM (resp.
CSTMAIN.HTM, DFTMAIN.HTM, ...) which opens via CFTFRAME.HTM
three frames, one frame with an alphabetical index
(CFTCONT.HTM), one as the main display window and the third
(CFTNAVIG.HTM) with buttons to select the information being
displayed.
HTML FILENAMES
The HTML filename links inside the HTML files have the file
extension '.HTM' and are written in uppercase letters. Using
'.HTM' rather than '.HTML' avoids problems when files are moved
between DOS and other file systems like Windows NT or OS/2.
Netscape and other popular browsers are able to use both HTML
file extensions.
VIEWING HTML FILES WITH NCSA MOSAIC
If the HTML output is viewed with the WWW client NCSA Mosaic
there is a problem with jumps inside a document: such jumps are
not handled correct and will usually display a wrong location.
This is a problem of Mosaic which is obviously no able to do
such jumps inside locally stored and loaded documents.
1
Therefore it is recommended to use the Netscape WWW client to
get best results. This viewer also requires less memory than
Mosaic.
UNRESOLVED LINKS
In some situations there are unresolved links to items which
will result in jumps to wrong locations (HTML) or in an error
message (RTF Windows Help). This happens if only a part of the
source code is analyzed or if not all items are listed in the
output, e.g. because options like -a -u are missing or only
selected items are displayed (options -S -Q).
ERROR MESSAGES DURING COMPILATION OF RTF FILES WITH WINDOWS
HELP COMPILER
While compiling RTF files to Windows Help files there are
sometimes error messages like 'context string ... already
used'. This is normal behaviour because there are references to
items which are not resolved.
ITEM FORMAT IN THE HTML AND RTF SXT OUTPUT
The output format of the items (functions, data types) is the
same as in the ASCII listing.
- Each item is defined by its name, its type (if available),
followed by a unique identifier, status information, file
location and line number:
int main() (1) <D> <test.c, 12>
^ ^
The identifier and the file name (marked with ^) are hyper
text links to the cross reference table resp. file table.
- If an already referenced item is displayed again then the
item name itself is a hyper text link to the first
definition.
- The cross reference table contains for each calling resp.
called item the number of calls to / from it. The item for
which the specific relations are shown displays the summary
in the format <# calls to, # calls from>.
- The HTML file "progNAMES.HTM" (prog = CFT, CST, ...) contains
a lexicographical sorted list of all items with links to the
item definition, the cross reference table and the file
table. For RTF generated Windows help files a quite similar
sorted list can be found via the 'Search' button.
Copyright (C) Juergen Mueller (J.M.) 1988-1996.
All rights reserved world-wide.
SXT (TM) SOFTWARE EXPLORATION TOOLS
SXTWIN (TM) SOFTWARE EXPLORATION TOOLS for Windows
2